package global

//var CtxContent  map[string]interface{}

const (
	AppVersion     = "2.2"
	Appname        = "WuyouBakupengine_onepro.exe"
	AppServiceName = "WuYouBAkEngine_OnePro"
	AppDisplayName = "WuYouBAkEngine_OnePo定时备份及脚本服务"
	AppDescription = "WWuYouBAkEngine_OnePror定时备份数据库,或者执行sql脚本服务"
	AppserverDb    = "qiusql.db"
	AppClientDb    = "qjhclonepro.db"
)

const WYLogo = "WUYOU-BAKOnePro"

type RequestForm struct {
	Token   string
	ReqInt  int
	ReqStr1 string
	ReqStr2 string
	ReqStr3 string
}

var b2i = map[bool]int8{false: 0, true: 1}

var I2b = []bool{false, true}

func B2i(b bool) int8 {
	if b {
		return 1
	}
	return 0
}
